Skip to content

[Props] update deprecated View.propTypes to ViewPropTypes #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2017

Conversation

dlimx
Copy link
Contributor

@dlimx dlimx commented Oct 12, 2017

View.propTypes has been deprecated in the latest versions of React Native. Running release builds will cause errors such as "View.propTypes.style is undefined".

This is a simple change use to replace it with the new React Native ViewPropTypes API.

(oops I didn't see #68 and #69 - feel free to close/decline if that gets updated)

@gitim
Copy link
Owner

gitim commented Oct 17, 2017

thanks!

@gitim gitim merged commit af8e828 into gitim:master Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants